How to fix the RPC server unavailable error